public class Demo {
    private  String name;
    private  String number;

    private String getName(){

        return name;
    }
    public String getPName(){
        return name;
    }
    public String getPNumber(){
        return number;
    }
    public    int add(int a,int b){
        return a+b;
    }
    //构造函数构建
     Demo() {
    }
    Demo(String name){
        System.out.println("String"+name);
    }
    public Demo(String name, String number) {
        this.name = name;
        this.number = number;
    }
}
